<?
/**
 * <b>GetOrdersRequestType Class</b>
 * Published 04/11/2010 19:00:12
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('AbstractRequestType.php');
require_once('OrderIDArrayType.php');
require_once('OrderStatusCodeType.php');
require_once('PaginationType.php');
require_once('TradingRoleCodeType.php');
require_once('ListingTypeCodeType.php');

class GetOrdersRequestType extends AbstractRequestType{
 /** Start Properties **/
	// @var dateTime $CreateTimeFrom
	public $CreateTimeFrom;
	// @var dateTime $CreateTimeTo
	public $CreateTimeTo;
	// @var boolean $IncludeFinalValueFees
	public $IncludeFinalValueFees;
	// @var ListingTypeCodeType $ListingType
	public $ListingType;
	// @var dateTime $ModTimeFrom
	public $ModTimeFrom;
	// @var dateTime $ModTimeTo
	public $ModTimeTo;
	// @var int $NumberOfDays
	public $NumberOfDays;
	// @var OrderIDArrayType $OrderIDArray
	public $OrderIDArray;
	// @var TradingRoleCodeType $OrderRole
	public $OrderRole;
	// @var OrderStatusCodeType $OrderStatus
	public $OrderStatus;
	// @var PaginationType $Pagination
	public $Pagination;
 /** End Properties **/

/**
 *
 * @return dateTime
 */
	function getCreateTimeFrom(){
		return $this->CreateTimeFrom;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCreateTimeFrom($value){
		$this->CreateTimeFrom = $value;
	}


/**
 *
 * @return dateTime
 */
	function getCreateTimeTo(){
		return $this->CreateTimeTo;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCreateTimeTo($value){
		$this->CreateTimeTo = $value;
	}


/**
 *
 * @return boolean
 */
	function getIncludeFinalValueFees(){
		return $this->IncludeFinalValueFees;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setIncludeFinalValueFees($value){
		$this->IncludeFinalValueFees = $value;
	}


/**
 *
 * @return ListingTypeCodeType
 */
	function getListingType(){
		return $this->ListingType;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setListingType($value){
		$this->ListingType = $value;
	}


/**
 *
 * @return dateTime
 */
	function getModTimeFrom(){
		return $this->ModTimeFrom;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setModTimeFrom($value){
		$this->ModTimeFrom = $value;
	}


/**
 *
 * @return dateTime
 */
	function getModTimeTo(){
		return $this->ModTimeTo;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setModTimeTo($value){
		$this->ModTimeTo = $value;
	}


/**
 *
 * @return int
 */
	function getNumberOfDays(){
		return $this->NumberOfDays;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setNumberOfDays($value){
		$this->NumberOfDays = $value;
	}


/**
 *
 * @return OrderIDArrayType
 */
	function getOrderIDArray(){
		return $this->OrderIDArray;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setOrderIDArray($value){
		$this->OrderIDArray = $value;
	}


/**
 *
 * @return TradingRoleCodeType
 */
	function getOrderRole(){
		return $this->OrderRole;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setOrderRole($value){
		$this->OrderRole = $value;
	}


/**
 *
 * @return OrderStatusCodeType
 */
	function getOrderStatus(){
		return $this->OrderStatus;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setOrderStatus($value){
		$this->OrderStatus = $value;
	}


/**
 *
 * @return PaginationType
 */
	function getPagination(){
		return $this->Pagination;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPagination($value){
		$this->Pagination = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->AbstractRequestType("GetOrdersRequestType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"CreateTimeFrom"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"CreateTimeTo"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"IncludeFinalValueFees"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ListingType"=>
					array(
						"required"=>false,
						"type"=>"ListingTypeCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ModTimeFrom"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ModTimeTo"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"NumberOfDays"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"OrderIDArray"=>
					array(
						"required"=>false,
						"type"=>"OrderIDArrayType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"OrderRole"=>
					array(
						"required"=>false,
						"type"=>"TradingRoleCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"OrderStatus"=>
					array(
						"required"=>false,
						"type"=>"OrderStatusCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Pagination"=>
					array(
						"required"=>false,
						"type"=>"PaginationType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
